Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PytzUsageWarning #1109

Merged
merged 2 commits into from
Nov 12, 2024
Merged

Fix PytzUsageWarning #1109

merged 2 commits into from
Nov 12, 2024

Conversation

serhii73
Copy link
Collaborator

@serhii73 serhii73 commented Dec 7, 2022

Close #1089

>>> from datetime import datetime
>>> dateparser.parse(
...     "in 3 hours",
...     settings={
...         "TO_TIMEZONE": "UTC",
...         "RELATIVE_BASE": datetime.now(),
...     },
... )
datetime.datetime(2022, 12, 7, 14, 43, 47, 345343)

@Gallaecio Gallaecio self-requested a review December 7, 2022 11:55
@serhii73 serhii73 changed the title Fix PytzUsageWarning [WIP] Fix PytzUsageWarning Dec 7, 2022
@serhii73
Copy link
Collaborator Author

serhii73 commented Dec 7, 2022

#1062 - Perhaps this would be helpful to fix this issue.

@serhii73 serhii73 marked this pull request as draft February 2, 2023 15:55
@serhii73 serhii73 marked this pull request as ready for review November 11, 2024 13:42
@serhii73 serhii73 changed the title [WIP] Fix PytzUsageWarning Fix PytzUsageWarning Nov 11, 2024
@serhii73 serhii73 merged commit 47acb88 into master Nov 12, 2024
5 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PytzUsageWarning: The localize method is no longer necessary
3 participants